#!/bin/bash

echo -e "\033[31m 设备文件系统 \033[0m "
adb shell mount | grep -i "on /data type" | awk '{print $5}'
echo -e "\033[31m 设备内存分配方式 \033[0m "
adb shell showmap $(adb shell pidof system_server) | grep -iE "scudo|malloc"
echo -e "\033[31m 设备壳温 \033[0m "
adb shell cat /sys/class/thermal/thermal_message/board_sensor_temp
echo -e "\033[31m 设备电池温度 \033[0m "
adb shell dumpsys battery | grep temperature
echo -e "\033[31m 设备电池电量 \033[0m "
adb shell dumpsys battery | grep level
